build.gradle: fix git version transform

According to the principle of least surprise,
a release named "vendetta" shouldn't become "endetta".