fix list building of output objects in pkg/elf lists
adding a python example