Throw the error directly instead of calling Get()

This was needlessly inefficient (not to mention, totally redundant now
that we search the list of already-registered plugins first).