Only get version is pkgng is installed

A small fix to the fact to only get the pkgng version if it actually installed.

Else the fact wil "lock up"  on system that have a " Do you want to install?"  pkg binary