[Analyzer] Use specific checkout options from lockfile

:warning: WIP :warning:  this is waiting on the resolver PR being merged

Closes https://github.com/CocoaPods/CocoaPods/issues/1058