Improve default recipe exit code handling.