Remove cached submodules path.