respect preferred-install config property, when installing or updating
packages