Fixed git status prompt to support git 1.8