Handle the case where outDir != permWorkDir
Handle the case where permWorkDir doesn't exist
Merge pull request #959 from mrcslws/issue-919

Make runWithConfig directory handling more resilient / functional