add unit tests to check for correct behavior when using a 'wrong' $MODULEPATH
only retain *existing* entries of $MODULEPATH
fix remark
Merge pull request #969 from boegel/cope_with_wrong_modulepath

Cope with wrong modulepath