Revert "gps: fixed logic for finding the best package"

This reverts commit 5c3e419d6c554dd756fa194b24413040f8b241ac.