Not break when there are no plugins in the plugin dir

Fix for https://logstash.jira.com/browse/LOGSTASH-1324
Merge pull request #917 from electrical/change_pluginpath_error

Not break when there are no plugins in the plugin dir