fix git.get_latest_tag variable clash with `local` namespace