add support for modextrapaths
fix remark
Merge pull request #634 from boegel/modextrapaths

add support for modextrapaths