ModUtil::getName() inconsistencies fixed, closes #848.
Merge pull request #939 from phaidon/modutil-getname-fix

ModUtil::getName() inconsistencies fixed, closes #848.