Also preserve .git dir if working-copy was specified on the project only.
Merge pull request #288 from cafuego/5.x-preserve-working-copy

Also preserve .git dir if working-copy was specified on the project only