def find_package_indexes_in_dir(self, simple_dir):
        packages = sorted(
            {
                canonicalize_name(x)
                for x in os.listdir(simple_dir)
            }
        )
        packages = [x for x in packages if os.path.isdir(os.path.join(simple_dir, x))]
        return packages