Job: check for empty parameter arrays, instead of using isset. Fixes #35874