added a check to determine the format of the repo index.yml