Fixing workspace cleanup for git