Use pkg rquery when checking for programs available version