Check job status for op's key before accessing.

Fixes the issue where the RAPI returns a job status with no op and where
check_job_status raises an exception due to NoneType not being subscriptable.

refs #13917
Check for jobs for validity

refs #13917
Prevent undefined value error in check_job_status

refs #13917
Validate entire job, not just op

refs #13917
Move variables in check_job_status to prevent undeclared error

refs #13917
Merge branch 'bug/13917' into develop

* bug/13917:
  Move variables in check_job_status to prevent undeclared error
  Validate entire job, not just op
  Prevent undefined value error in check_job_status
  Check for jobs for validity
  Check job status for op's key before accessing.