Calling git commands to calculate the current version (especially at compile time) via the tags can be fickle depending on the environment.