don’t fail in getMetadata if we have no file (yet)