[Analyzer] Use specific checkout options from lockfile

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