Wasn't properly ignoring metadata entries for deleted files (NPE in getRevisions)

Thanks to Tim M for reporting.