Fixes #1416: Plugin command doesn't work

Fix `plugin` command not working with plugin names containing `.`
Merge pull request #1426 from lpiepiora/fix-plugin-command

Fixes #1416: Plugin command doesn't work