Fix no-such-file test

This test was giving inconsistent results for me before making the
original change, but I can see clearly now that this is the correct
test.