Remove resource-only files from image metadata processing #1453