On OSX the temp dir is within /var, which is a symlink to /private/var. If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().