Fix bug with getPlugins function (#276)