Guard against sys.exit() called while exec()ing the conf.py file.