fixed display of parentheses when not in git directory