Bug 975183 -  nested submodule repository cannot be found

* lib/module001/module002 was not supported
* test added