Adjusting portageq to use match instead which will work on older versions

Older `portageq` versions do not support `best_visible` for installed packages so this uses `match` instead which works on both, and works for installed packages.