git_remote_ls() should return an error if the transport is not available
Merge pull request #2521 from jacquesg/remote-ls-not-connected

git_remote_ls() crashes before connect is called