set pluginsDir in packages #1051

fixes #1051
Merge branch 'bugfixes/tokumx-1.4'