Are we sure that the incoming Path's URI won't contain a username? If it did, that would make this parsing logic fail. (eg. git://git@github.com/foo/bar.git@develop).