xbps-query/list.c: remove obsolete code.