Fix another bug in git extract