[Analyzer] Use specific checkout options from lockfile

Closes https://github.com/CocoaPods/CocoaPods/issues/1058
> From now on, pods installed directly from their repositories will be recorded in the `Podfile.lock` file and will be guaranteed to be checked-out using the same revision on subsequent installations. Examples of this are when using the `:git`, `:svn`, or `:hg` options in your `Podfile`.