Emacs: before installing a package, check if it is installed