Bind default-directory to working-dir on checkout.

I ran `package-build-checkout` with the `default-directory` set as a git repo I was working on, which resulted in a not so nice `git reset --hard` on that repo.

Note that I have not tested this myself, I would hate to loose my changes again. I would prefer to write a test for it instead, but it seems useless since nothing else is tested here.