chug fails when multiple tasks are specified

I discovered that when I specify more than one task, chug always fails with exitCode of 1.  Attached is tests and a fix to the problem.