and undefined, if workdir is not defined