Fix empty credential on cloud provider discovery