Allow replacing dependency name with original from the source specified.

in this way the dependency will be installed in folder specified by the
source, just like using install command without specifying the name for endpoints