As I recall, if restore is enabled, you can ignore repositories.config, but if it isn't, you do need it.