Fixing UPS to ignore empty list of endpointUrls.