Deleted non-existing modules from the list of submodules and its cache.