Improve error message when the dependency loader is not found