Give sensible error messages when plugins are missing.
Merge bug26251