Make sure hub URL is constructed without double slashes