Fixed git prompt parsing to work with latest git.