Fix the issue when the API return empty string result. And only merge configuration whenever the result has jobs data.