switch import: only update pinned packages that need to
Merge pull request #1460 from OCamlPro/switch-import-fix

fix switch import: only update pinned packages that need to