fixing package.el error on Emacs 24

cfr. http://batsov.com/articles/2012/02/19/package-management-in-emacs-the-good-the-bad-and-the-ugly/