Following bug 1495276, I have tried the changes.
I don't know if it is the ' placed right before
the -D, or the space at the end of the value mozpath,
but they did not work.
I have made a little patch to correct that. Now it
works like a charm!
However, the space removal may be placed in an other
part of the code, I did it in a quick-and-dirty