don't dereference at the end of the workdir iterator