BZ1022986 - Cannot clone repository when a url contains leading and trailing whitespaces