part `build-snaps` channel change doesn't work without a `clean`
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### Bug Description
In my `charmcraft.yaml` file I updated the charm version via the `build-snaps` directive, and then a `charmcraft pack` but the changes were not reflected, ie no new charm version was installed.
Only when I ran `charmcraft clean` and another `charmcraft pack` it worked as intended and used the new charm version from the `charmcraft.yaml` configuration.
### To Reproduce
- create a simple `charmcraft.yaml` with e.g. `build-snaps: [charm/2.x/stable]`
- run `charmcraft pack` (which creates a container)
- update `charmcraft.yaml` to `build-snaps: [charm]`
- run `charmcraft pack`
- the new charm version is not used
(I noticed that as I added an option which is only available with the new charm version).
### Environment
- Ubuntu 20.04
- charmcraft -> version 2.3.0
- using lxd containers
### charmcraft.yaml
```shell
see above
```
### Relevant log output
```shell
none
```
Evaluation history
No evaluation history available.