fix regression: support readdion of removed files

Metadata now contains entries for removed files, which broke
readdion of removed files. This patch fixes that issue.