Fix get_remote_info when remote is https://github.com/user/repo/
Merge pull request #56 from sbesson/origin_remote

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