Added 'unless' logic to remove unneded calls to update-alternatives when the setting is already applied (to tidy up puppet logs)