Do not decompress the *.img.gz, the metadata sysupgrade is complaining about would be behind the gzipped content, by decompressing it you're removing this crucial data.
cert_verify: cannot parse cert
Image metadata not found
Reading partition table from bootdisk...
Reading partition table from image...
Partition layout has changed. Full image will be written.
Image check failed.