Fix to prepare for Gaudi new JobOptionsSvc

Marco Clemencic requested to merge prepare-for-gaudi-577 into master

This backward compatible change is needed to make the code compatible with Gaudi versions before and after v34r0, in particular it is required by gaudi/Gaudi!577 (merged), which is going to be merged soon.

Merge request reports