fix removing of .gitmodules file