checksum: Fix checksum generation for pki if tools are disabled