Add extra debug when a job is not valid.

Change-Id: Idb0ab86e7376e13ab11fb51be5fd726487eb0f39