genlist: fix regression bug. (T1986)
genlist: fix regression bug. (T1986)

newly added in 2955ebc5dd01fbfb5a3286b724c8a40915864ad8

FlorentRevest/Elementary,FlorentRevest/Elementary,FlorentRevest/Elementary,tasn/elementary,tasn/elementary,FlorentRevest/Elementary,tasn/elementary,tasn/elementary,rvandegrift/elementary,rvandegrift/elementary,rvandegrift/elementary,rvandegrift/elementary,tasn/elementary