Fix regression checking git repo status

Solves problem described in comment https://github.com/revans/bash-it/pull/318#issuecomment-53331092