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.