Make the repo field in the index mandatory