[FIX] correct comparison of path info = null