fix for bash < 4 in git status