Fixed removal of .git folder