[Outdated] Fix crash that occurs every time pod outdated is run

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