Fix initialization.

Check the consistency of base-package only when we switch.

This should fix #390
Merge branch 'master' of github.com:OCamlPro/opam