Fix dircache test - logic was wrong.