handle short git version