Merge pull request #2356 from libgit2/rb/restore-search-paths Better global search path sandboxing in tests