Avoid exception during exception handling

If an exception is thrown somewhere in the build pipeline setup, cleanup
can get called early. If it gets called before we have a _destDir, we
thrown our own exception, which obscures the original exception.
Merge pull request #23 from ef4/cleanup

Avoid exception during exception handling