De-dup the list of deps only after the local dep has been added.

This ensures that the project being started does not indirectly depend on itself and is thus started twice, which can happen right now if a transitive dependency leads back to the project under test.