Cleaning after removing submodules