Repository: flutter
Issue: Error host_cross_arch.shard Package of Flutter Framework packages
Labels: team-tool,from: manual-qa

### Steps to reproduce

### Testing with Android Studio JellyFish RC2 - flutter master 3.22.0-8.0.pre.5
1. Clone the Flutter repository from: [GitHub - flutter/flutter: Flutter makes it easy and fast to build beautiful apps for mobile and beyond](https://github.com/flutter/flutter) 

2. Navigate to the cloned repository in the terminal: `cd flutter`

3. Run the following command to execute the tests for the host_cross_arch.shard package and save the output to a log file: `cd packages/flutter_tools && flutter test test/host_cross_arch.shard >> flutter-host_cross_arch.shardS-logs.txt`

4. Review the log file generated to observe errors in the tests.

### Expected results

The host_cross_arch.shard package test should execute without errors in both Channel stable (version 3.19.5) and Channel master (Version 3.22.0-8.0.pre.5).

### Actual results

```
Expected: contains 'Sending archive event if usage enabled'
    Actual: '[   +3 ms] Could not interpret results of "git describe": 3.22.0-8.0.pre.5\n'
```

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[flutter-host_cross_arch.shardM-logs (2).txt](https://github.com/flutter/flutter/files/14964040/flutter-host_cross_arch.shardM-logs.2.txt)

```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel master, 3.22.0-8.0.pre.5, on macOS 14.4.1 23E224 darwin-arm64, locale es-AR)
    • Flutter version 3.22.0-8.0.pre.5 on channel master at /Users/somnio/Desktop/flutter/flutter
    • Upstream repository [GitHub - flutter/flutter: Flutter makes it easy and fast to build beautiful apps for mobile and beyond](https://github.com/flutter/flutter.git) 
    • Framework revision 35c0ad1a79 (2 days ago), 2024-04-10 13:16:35 -0400
    • Engine revision 077b742550
    • Dart version 3.5.0 (build 3.5.0-36.0.dev)
    • DevTools version 2.34.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/somnio/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 [Flutter - IntelliJ IDEs Plugin | Marketplace](https://plugins.jetbrains.com/plugin/9212-flutter) 
    • Dart plugin can be installed from:
      🔨 [Dart - IntelliJ IDEs Plugin | Marketplace](https://plugins.jetbrains.com/plugin/6351-dart) 
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.87.2)
    • VS Code at /Users/somnio/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (4 available)            
    • sdk gphone64 arm64 (mobile)     • emulator-5554         • android-arm64  • Android 14 (API 34) (emulator)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 123.0.6312.122

[✓] Network resources
    • All expected network resources are available.
```

</details>