Close GH-659: fix issue#658 list not working with linked packages.