Tweak git version generation