util.dependencies: correct error messages to avoid confusion.