LPS-49773 Avoid resending double dependencies to trash

cc/ @robertoDiaz @sergioGonzalez