Correct bug where some commands were recorded as failures when no exitCode option specified