Fix the metadata-available test during restore
2 files changed