importpkg: move the hash function list to the extractor class