netops: error out on url without a path

In order to connect to a remote server, we need to provide a path to the
repository we're interested in. Consider the lack of path in the url an
error.
Merge pull request #2459 from libgit2/cmn/http-url-path

netops: error out on url without a path