dl-protect: fix wrong path matching

Reported in: https://greasyfork.org/forum/discussion/1537/x#Comment_5342