* [duplicity] improve resolving dependences