Fix package installation array in installation script