web/job_info: fix bug on jobs with no preview