Get repository name by parsing ls-remote --get-url result