code: def _validate_file_roots(file_roots):
      '''
      If the file_roots option has a key that is None then we will error out,
      just replace it with an empty list
      '''
      if not isinstance(file_roots, dict):
          log.warning('The file_roots parameter is not properly formatted,'
                      ' using defaults')
          return {'base': _expand_glob_path([salt.syspaths.BASE_FILE_ROOTS_DIR])}
      return _normalize_roots(file_rootsf _validate_file_roots(file_roots):
      '''
      If the file_roots option has a key that is None then we will error out,
      just replace it with an empty list
      '''
      if not isinstance(file_roots, dict):
          log.warning('The file_roots parameter is not properly formatted,'
                      ' using defaults')
          return {'base': _expand_glob_path([salt.syspaths.BASE_FILE_ROOTS_DIR])}
      return _normalize_roots(file_roots)
docs: If the file_roots option has a key that is None then we will error out,
      just replace it with an empty list