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

fixes: #16121