Fixed git prompt remote branch test.