During a modulefile lookup in getModules, directory definitions are
updated if some empty directories are found in them.
Do not attempt this directory definition update when finding an empty
directory if parent directory has been overwritten by an alias
definition for instance.
Fixes#170