Followup cleanup up latest_stable_tag
Followup from #7759 (closed)
As this should only impact stable tags, should we consider updating it to only call git tag twice for that use case? Rather than also running twice when the repo has no stable tags at all?
Also it looks like we should also apply a similar change to the latest_tag code above the latest_stable_tag method.