the command excludes all paths that contain vendor, but if the plugin name contains vendor in it i.e.: "multivendor" it filters all the valid paths out also. So specifically filtering out only the paths containing '\vendor' solves the issue.