Fixed case where DEPENDENCY_FAILS but the code still tried to get the job status from the Foundation API