Replace non-existent exceptions with sys.exit().