Actually return the array from LogEntry::list_modules().

You can tell we use this method a lot.