Set GIT_DIR while appying patches to work around git-apply doing nothing when started within another git directory.

This is an alternative to #23.