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

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. 6.x already performs this check, but uses a project attribute that isn't present in 5.x.