Short circuit searches through the gpii.packageKit packages.

Replaced use of array forEach() method with some() method to
quit the search when a match is found.