 fserver.drush.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fserver.drush.inc b/fserver.drush.inc
index 4326eb7..dc75f1d 100644
--- a/fserver.drush.inc
+++ b/fserver.drush.inc
@@ -382,7 +382,7 @@ class FserverProject_git {
         // Create the directory if it doesn't exist.
         if (file_check_directory($file_path, TRUE)) {
           $vc = $tag['original'];
-          drush_op('drush_shell_exec', "git --git-dir={$this->path}/.git checkout {$vc}");
+          drush_op('drush_shell_exec', "git --work-tree={$this->path} --git-dir={$this->path}/.git checkout {$vc}");
           $this->FserverProject->write_package_info($tag, array('.git'));
           drush_op('drush_shell_exec', "tar -Pcf - --exclude='.git' --transform='s,{$this->path},{$this->FserverProject->name},' {$this->path} | gzip > {$file_path}/{$base}.tgz");
 
