Fix can't upgrade emacs packages.