text: Title: expected str, bytes or os.PathLike object, not NoneType
  Body: ### Search before asking
  
  - [x] I have searched the Ultralytics YOLO [issues](https://github.com/ultralytics/ultralytics/issues) and found no similar bug report.
  
  
  ### Ultralytics YOLO Component
  
  _No response_
  
  ### Bug
  
  I imported the dataset directly from Roboflow, so it should not have problem.
  
  
  The following is the code I run 
  
  from ultralytics import YOLO, checks, hub
  checks()
  
  hub.login('hidden')
  
  model = YOLO('https://hub.ultralytics.com/models/DDnZzdKNetoATXL0SY0Q')
  results = model.train()
  
  
  
  
  
  
  Traceback (most recent call last):
    File "C:\Program Files\Python310\lib\site-packages\ultralytics\engine\trainer.py", line 558, in get_dataset
      elif self.args.data.split(".")[-1] in {"yaml", "yml"} or self.args.task in {
  AttributeError: 'NoneType' object has no attribute 'split'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\Users\a\Desktop\Weight1\Train.py", line 7, in <module>
      results = model.train()
    File "C:\Program Files\Python310\lib\site-packages\ultralytics\engine\model.py", line 803, in train
      self.trainer = (trainer or self._smart_load("trainer"))(overrides=args, _callbacks=self.callbacks)
    File "C:\Program Files\Python310\lib\site-packages\ultralytics\engine\trainer.py", line 134, in __init__
      self.trainset, self.testset = self.get_dataset()
    File "C:\Program Files\Python310\lib\site-packages\ultralytics\engine\trainer.py", line 568, in get_dataset
      raise RuntimeError(emojis(f"Dataset '{clean_url(self.args.data)}' error ❌ {e}")) from e
    File "C:\Program Files\Python310\lib\site-packages\ultralytics\utils\__init__.py", line 1301, in clean_url
      url = Path(url).as_posix().replace(":/", "://")  # Pathlib turns :// -> :/, as_posix() for Windows
    File "C:\Program Files\Python310\lib\pathlib.py", line 960, in __new__
      self = cls._from_parts(args)
    File "C:\Program Files\Python310\lib\pathlib.py", line 594, in _from_parts
      drv, root, parts = self._parse_args(args)
    File "C:\Program Files\Python310\lib\pathlib.py", line 578, in _parse_args
      a = os.fspath(a)
  TypeError: expected str, bytes or os.PathLike object, not NoneType
  
  ### Environment
  
  Ultralytics 8.3.75 🚀 Python-3.10.11 torch-2.5.1+cu118 CUDA:0 (NVIDIA GeForce RTX 2080 Ti, 11264MiB)
  Setup complete ✅ (16 CPUs, 15.9 GB RAM, 306.5/446.5 GB disk)
  
  OS                  Windows-10-10.0.19045-SP0
  Environment         Windows
  Python              3.10.11
  Install             pip
  RAM                 15.93 GB
  Disk                306.5/446.5 GB
  CPU                 AMD Ryzen 7 5700X 8-Core Processor
  CPU count           16
  GPU                 NVIDIA GeForce RTX 2080 Ti, 11264MiB
  GPU count           1
  CUDA                11.8
  
  numpy               ✅ 1.26.4<=2.1.1,>=1.23.0
  matplotlib          ✅ 3.10.0>=3.3.0
  opencv-python       ✅ 4.10.0.84>=4.6.0
  pillow              ✅ 10.4.0>=7.1.2
  pyyaml              ✅ 6.0.2>=5.3.1
  requests            ✅ 2.32.3>=2.23.0
  scipy               ✅ 1.15.1>=1.4.1
  torch               ✅ 2.5.1+cu118>=1.8.0
  torch               ✅ 2.5.1+cu118!=2.4.0,>=1.8.0; sys_platform == "win32"
  torchvision         ✅ 0.20.1+cu118>=0.9.0
  tqdm                ✅ 4.67.1>=4.64.0
  psutil              ✅ 6.1.1
  py-cpuinfo          ✅ 9.0.0
  pandas              ✅ 2.2.3>=1.1.4
  seaborn             ✅ 0.13.2>=0.11.0
  ultralytics-thop    ✅ 2.0.14>=2.0.0
  
  ### Minimal Reproducible Example
  
  from ultralytics import YOLO, checks, hub
  checks()
  
  hub.login('hidden')
  
  model = YOLO('https://hub.ultralytics.com/models/DDnZzdKNetoATXL0SY0Q')
  results = model.train()
  
  
  ### Additional
  
  _No response_
  
  ### Are you willing to submit a PR?
  
  - [ ] Yes I'd like to help by submitting a PR!