salt.sh: Rework `git -C` for older git compat