Some SCMs (e.g. SVN) support checking out multiple modules into the same
workspace. In that case the getModuleRoot is not deterministic anymore.
Even if only one module is checked out, the Module Root is not
necessarily the same as the Work Space directory. So explicitly use
getWorkSpace to conform to the documented behavior: "the current working
directory of the command execution is always the job's workspace root."