Initialize installed.user when switching and importing packages