Replace dolist with mapc when installing packages