[Analyzer] Ensure external sources are downloaded when needed

Closes https://github.com/CocoaPods/CocoaPods/issues/2494.