packages.cf: add debian_knowledge list_name_regex and list_version_regex and use them.