Fix bug with git not running