In a long dependency chain, ensure that some projects don't get installed twice