Improved error message when the plugins argument is not a directory