get_module_dirpath returns incorrect values with nested modules. Use more reliable method of locating modules.
Merge pull request #2 from sbnoemi/module_dirpath_problems

get_module_dirpath returns incorrect values with nested modules. ...