Remove submodule properly