RF: fix git-closest-tag for Python 3