KNIFE-450: Handle exit code for run method