Cleaning up dirty submodules