Purge existing submodules.