Don't refresh externals deps when pinned to a commit we already have

First draft at addressing https://github.com/CocoaPods/CocoaPods/issues/2949