Turn package installation back into a loop

This was overwritten by a previous merge