EZP-23437: fixed path detection in DFS listener