Remove Trailing slash on remote

Hello, 

i've noticed that this util adds an "/" at the end of my remote url which causes one of the git services to error with "404"
I don't thing this slash is needed anywhere else too.
If that's the case it would be lovely to see this pull request merged :)

Cheers,
Nikola