Cleanup the manifest file name pattern handling.