Fix pipeline getting split up during "plumber -w" (issue #6)

Breaks one of the tests currently. Thought I'd open the PR in the meantime anyway for comments/criticisms/hep.
I'm a bit confused as to what this line does, could you explain what the change is meant to achieve?