Our code did not deal with the `assumes:` field in the raw yaml that we get from the store. This lead to the really nasty bug that on a refresh the assumes is not checked correctly, see https://bugs.launchpad.net/snapd/+bug/1940553