Remove trailing slash from git urls