Fix a pants test that was broken at least on osx.