Repository url was broken, when url contains port number.

Fixed it. And, added some test cases.

e.g.)
Broken case: ssh://git@git.local:22/tokuhirom/Minilla.git
Expect to: ssh://git@git.local:22/tokuhirom/Minilla.git
But, Got: ssh://git@git.local/22/tokuhirom/Minilla.git