Fix git_tag compatibility with Python 3.5
This project started requiring Python 3.6 with shallow clone changes which leads to https://gitlab.com/BuildStream/buildstream/-/jobs/265905215 ; either there should be intentional requirement in setup.py metadata about Python 3.6 or higher or the code needs to be fixed to work with 3.5. It's most likely only a matter of using f strings.