Fix bug: prevent removing and recreating scm dir everytime while .git dir exists
Merge pull request #3 from fanweixiao/master

Fix bug: prevent removing and recreating scm dir everytime while .git dir exists