scripts/setlocalversion: make git describe output more reliable