Replace full repository URL instead of proto+host.