ci/build_functions: handle skopeo error messages
Handle better the output of skopeo when we're checking whether a container exists. This aims to only building container when they're really missing and avoids re-creating a container in case of network issues.
Fixes: https://gitlab.freedesktop.org/mupuf/valve-infra/-/issues/161