Fix for git version handling