code: def ensure_valid_environment_config(module_name, config):
      
      if not config.get('namespace'):
          LOGGER.fatal("staticsite: module %s's environment configuration is "
                       "missing a namespace definition!",
                       module_name)
          sys.exit(1)
docs: Exit if config is invalid.