Remove link in preun rather than postun