Minor fix related to checking job_name