don't print error message until after checking exception type
Bugfix for ticket #2370, ShellCommand now checks validity of args during config rather than build
removed unused variables from unit test
Merge branch 'ticket2370' of git://github.com/ffledgling/buildbot