Move automatic package installation to packages.el