I had a similar struggle, may be the version is the missing hint:"dependencies": { "diet-ng": "~>1.4", ....,mylib":{ "versions": "~master", "path": "/home/mt/d/mylib" }, .... } Try to place "versions": "~master", beside your path.
Unfortunately that did not work :(