Cannot pass workdir to constructor

Weird...