rpmutils: fix a bug in node_list_seen()