fn image_refs_match( image_ref_v1: Option<&Sha512HashValue>, image_ref_v2: Option<&Sha512HashValue>, verity: &str, ) -> bool