business template: improve error message when a dependency is missing