Fix issue#658 list not working with linked packages.