TRQ-2626. Don't allow jobs to have a blank dependency job.

I.e. disallow afterok: with no job specified.