Fail faster when git is not installed.
Only retry git commands that hit the network.