Return code bugfix for pkg-version function on Gentoo

Found a return code bug, when issuing pgk-version against an uninstalled
gentoo package.