Fix `git_tag()` portability