disallow modulesharedirs, or dist sharedirs outside share/