Honour the working-copy flag for a git checkout.

Drush deletes the .git directory from cloned projects without checking whether the working-copy option was specified . This patch adds that check, so the working-copy option actually leaves a working copy.