better implementation for handling git versions starting with a char

...ation - thanks, David