FTS-1691: Fix get_jobs_statuses() usage of wrong variable name when a single non-existent job is passed