Fixed a bug in resolving files from the manifest