[Final] Added ability to specify catalog id when generating local manifest.

This is useful when you have local directories that just have bundle names in the directory name and not the full bundle identifier.