`primed-stage-packages` in `manifest.yaml` loses architecture information
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### Check existing issues
- [x] I've verified that this bug isn't described by any existing issues.
### Bug description
Look at `/snap/mesa-2404/current/snap/manifest.yaml`:
```
$ cat /snap/mesa-2404/current/snap/manifest.yaml | yq '.parts[] | .stage-packages' | sort -u | wc -l
140
$ cat /snap/mesa-2404/current/snap/manifest.yaml | yq '.primed-stage-packages' | sort -u | wc -l
64
```
Looking closer, the packages are listed without architecture.
### Steps to reproduce
With the attached YAML:
```
$ SNAPCRAFT_BUILD_INFO=1 snapcraft --verbose
$ unsquashfs base-cleanup_0.1_amd64.snap
$ cat squashfs-root/snap/manifest.yaml | yq '.parts[] | .stage-packages' | sort -u
- gcc-14-base:i386=14.2.0-4ubuntu2~24.04
- libc6:i386=2.39-0ubuntu8.6
- libgcc-s1:i386=14.2.0-4ubuntu2~24.04
- xz-utils=5.6.1+really5.4.5-1ubuntu0.2
$ cat squashfs-root/snap/manifest.yaml | yq '.primed-stage-packages' | sort -u
- gcc-14-base=14.2.0-4ubuntu2~24.04
- libc6=2.39-0ubuntu8.6
- libgcc-s1=14.2.0-4ubuntu2~24.04
- xz-utils=5.6.1+really5.4.5-1ubuntu0.2
```
### Environment
Ubuntu 25.10
Snapcraft 8.13.2
### snapcraft.yaml
```yaml
name: base-cleanup
base: core24
version: '0.1'
summary: Cleanup verifier
description: Cleanup verifier
grade: devel
confinement: devmode
package-repositories:
- type: apt
url: http://archive.ubuntu.com/ubuntu
suites: [noble]
components: [main]
architectures: [i386]
key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C
key-server: keyserver.ubuntu.com
parts:
my-part:
plugin: nil
stage-packages:
- xz-utils
- xz-utils:i386
```
### Log output
```shell
<!-- Provide any relevant logging. This field automatically renders as a log, so you don't need to add special formatting. -->
```
Evaluation history
No evaluation history available.