fix the git ls-remote revision