Fix #3789: remove relative parts of the modulepath
Merge pull request #45 from skottler/bugs/3789

Fix #3789: remove relative parts of the modulepath