Fix duplicate tar.xz checks and add OS guard for CRC