Add a 'repo' field to the index