Fix FTB.

Add support of private packs.
Fix instance ID problems related to FTB instances.