Repository: flutter
Issue: Running "flutter pub get" in a module app prints "Found saved certificate choice" and Apple cert info twice
Labels: tool,a: existing-apps,P2,team-tool,triaged-tool

This only reproduces the first time `flutter pub get` is run, or after a `flutter clean`:
```
$ flutter create -t module test_module
$ cd test_module
$ flutter pub get
Running "flutter pub get" in test_module...                        472ms
Found saved certificate choice "Apple Development: Jenn (xxxxx)". To
clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple
Development: Jenn (xxxxx)"
Found saved certificate choice "Apple Development: Jenn (xxxxx)". To
clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple
Development: Jenn (xxxxx)"
$
```
This does not reproduce in a newly created non-module app:
```
$ flutter pub get
Running "flutter pub get" in test_create...                        480ms
$
```

```
$ flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.511, on macOS 11.6 20G165
    darwin-x64, locale en-US)
    • Flutter version 2.6.0-12.0.pre.511 at /Users/m/Projects/flutter
    • Upstream repository git@github.com:jmagman/flutter.git
    • Framework revision ca788d8941 (8 hours ago), 2021-10-28 10:35:03 -0700
    • Engine revision c9dda84396
    • Dart version 2.15.0 (build 2.15.0-260.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/m/Library/Android/sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_SDK_ROOT = /Users/m/Library/Android/sdk
    • Java binary at: /Users/m/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Users/m/Applications/Xcode-13_rc.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio with Blaze.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/m/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Community Edition (version 2021.1.3)
    • IntelliJ at /Applications/IntelliJ CE (stable).app
    • Flutter plugin version 61.2.3
    • Dart plugin version 211.7798

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

• No issues found!
```