update cli-package-installed-p for emacs 24.4
Merge commit 'fa75f045f1ad3a3159a46778963939938627fbae'