setHasWorkingDir