Better error reporting if no dependencies are specified.