fix msm-plugin.c svace issue: make sure dupPath is not NULL before strchr()