Add pathIsSubpathOfPluginsDirectory