Run git ls-remote as the right user