For me it looks like the prebuild commands are also executed in the
project that includes the dependencies. I think this is not really
correct. Especially because DUBPACKAGEDIR and the working directory
are still on the root project?

Christian