Extract plugins/ path lookup to pluginsPath() function in PluginAPI
Fixed leftover reference in pluginsPath() function
Merge pull request #886 from JWhy/patch-1

Extract plugins/ path lookup to pluginsPath() function in PluginAPI