Upate index_current_repo to work with new docstore.