Fix file path test issue introduce in f11bcee9b