Fixed a crash with git versions