util: Fix the logic in ms_fnmatch_protocol()