removed unique function

'unique' function was too complex, all it's params in dnf code are hashable so replacing it with 'set' is sufficient.