error handling; git_src_dir now owned by dominik