Fixed issue where git prompt would not work if there were uncommited changes