Validation of job execution data should raise InvalidDataException

There is a check on job execution data that currently raises
InvalidException, which is the base type for bad object references.
It should raise InvalidDataException instead.

Change-Id: I19f156aff43968e7a5c0a51c0cfa7199d32b70f2
Merge "Validation of job execution data should raise InvalidDataException"