Fixed bug preventing --git from working