Fix ebuild.install causing extra refresh_db calls.
Fix ebuild.install causing extra refresh_db calls.

Fixes #28859.

The original call to `latest_version` caused a `refresh_db` to take
place. This is either unneeded (`refresh=True` was passed to `install`
and so refresh_db was done already) or something we were specifically
asked not to do (`refresh=False` was passed to `install`).

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt