- check type in lookup_bin_checksum, make it possible to retrieve PKGID/HDRID/LEADSIG...