Follow-up to salvaged PR #70548 — _run_job_script now accepts workdir= kwarg, test mocks need to accept it too.