Added validations around RemoveSymlink in uninstall.