Fixed plugin precedence for the first plugin in plugin list.

If a plugin was in both the system wide and ther user's plugin folder and the plugin was the first in the list the plugin was loaded and listed twice.
Merge pull request #346 from phw/plugin-fixes

Fixed plugin precedence for the first plugin in plugin list.