Insert overriden dependency before any of its dependencies