No, it's not from manifest content, it's obtained from configure file name, 'manifest.json' for XPK and 'config.xml' for WGT.