make local plugin lookup case-sensitive

the old lookup method returned false positives on case-insensitive
filesystems

(plugin basenames are treated as case-sensitive by WordPress)

fixes #958