Fix the setting of module_dirlen for a module path of "/".