Fixes workDir path problem in workman.