Added 'unless' logic to remove unneeded calls to update-alternatives when...

... the setting is already applied (to tidy up puppet logs)