[SourcesManager] Dont take into account trailing .git when finding repo by URL

See https://github.com/CocoaPods/CocoaPods/issues/2526#issuecomment-56986262