Cleanup submodules after a move to another machine