bzlmod: Keep error message consistent
The error message should be the same as https://cs.opensource.google/bazel/bazel/+/master:src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java;l=243
RELNOTES: None
@@ -919,7 +919,7 @@ public abstract class TargetPattern {
if (!repository.isVisible()) {
throw new TargetParsingException(
String.format(
- "%s is not visible from repository `@%s`",
+ "Repository '%s' is not visible from repository '@%s'",
repository.getName(), repository.getOwnerRepoIfNotVisible()),
Code.PACKAGE_NOT_FOUND);
}
