Handle the case where job_name is set to an empty (or whitespaces only) string.