Adapted usage of PackageManager API from getPackagesByInstaller() to findPackages()
Adapted usage of PackageManager API from getPackagesByInstaller() to findPackages()

temp/composer-plugin,kormik/composer-plugin,tgalopin/composer-plugin,puli/composer-plugin,WedgeSama/composer-plugin