Use adam greens suggestion to simplify the way the git version string is generated