@yongsheng and me means that here should use `os.path.join(out_dir, 'manifest.json')` regardless of whether options.manifest is specified or not.