make the getList function more generaic to work with the sloppy syntax of the moinmoin GUI