Bug 793925: part 8 - Fix handling of relative path for system/out-of-manifest modules

https://bugzilla.mozilla.org/show_bug.cgi?id=793925