Emacs: make config file robust to missing packages