path-list: fix path-list-insert return value