ensure there is a new_job before looking for the new_job.id