Remove duplicates from dependencies

As a List is used to preserver order, duplicates are not automatically removed

Change-Id: Ib2902bbecf52f62fa92ce53b4da69861c24d0a46