fix spurious test failure on a system that happened to have an executable named 'foo' in the PATH