install: check for ELPA packages before installing them

Should prevent "File exists" errors when installing Emacs ELPA
packages.