Fix use-after-free bug in git fast-import handling.