Update warning message
Find dependencies for actual packages instead of just emacs