Added hasPluginClass() to GlobalConfig and RootPackageConfig