Update pkg.latest to work with available_version

A minor tweak removing the version comparison logic from pkg.latest
since it has been decided that pkg.available_version will return an
empty string unless the package is a new install or there is an upgrade
available.