Fix : log in the package installation loop