(sub migrate_back_rpmdb_db_to_hash_8) split it out of migrate_back_rpmdb_db_version() (needed for next commit)