Iterate with dolist when installing packages