Remove repositories from settings dict.
Remove duplicate exclude.