Clean submodule dependencies