Bugfix: Handle empty directories from older repaired snapshots

Since restic 0.19.0, snapshots containing empty directories written by older
versions of `repair snapshots` could fail with `error decoding tree: expected
[, got <nil>`.

This has now been fixed, allowing `prune`, `check` and `restore` to process
the affected snapshots successfully.

https://github.com/restic/restic/issues/22092
https://github.com/restic/restic/pull/22117
