read_metadata_resource(): Treat initial end-of-directory as empty image