Fix in git remote branch patterns on dirty bash function