Fix get_remote_info when remote is https://github.com/user/repo/

```
git clone https://github.com/ome/scripts/
scc merge --info dev_4_4
```
will raise an exception without this PR and should work again with this commit