Added a more explicit error message in CommandLoader.