Fix a path bug in #list()