would you mind showing an example URL which isn't catched by the previous expression? What `git config --get remote.origin.url` returns in your case?