I would prefer to ask to the SourcesManager the sources (something like `sources = SourcesManager.podfile_aggregate`) and the update those sources:

```ruby
UI.section 'Updating spec repositories' do
  SourcesManager.podfile_sources.each do |source|
     SourcesManager.update(source)
  end
end
```