Merge "Add support for MATCH_FACTORY_ONLY to getInstalledPackages"