Add a check if the 0 index exists
Merge remote-tracking branch 'tiois/yaml-driver'

* tiois/yaml-driver:
  Add a check if the 0 index exists