only the libgit2 script needs to set PATH.