revert to previous routine but clear out past repo configs

This goes back to how we used to disable/enable repos but we clear out the previous repos b