Fixed leftover reference in pluginsPath() function