Use canonicalized name in NoSuchKegError message

cf. #22778.
Modernize `brew diy`
diy: warn when detected name is an alias

cf. #22778.