This is the same bug as filled against MySQL:
Also MariaDB has really weird message when we try to uninstall non-dynamic plugin.
MariaDB [test]> uninstall plugin innodb;
ERROR 1305 (42000): PLUGIN innodb does not exist
It would be better to give users a better hint where the problem is.