Display the package version in pkg.latest when a package is up to date

fixes: #16121
Merge pull request #17077 from feth/display_pkg_version

Display the package version in pkg.latest when a package is up to date