Avoid uninstalling not installed package