[Git][pacman/pacman][master] Avoid double slash when explicitly passing --root or --rootdir