hadrian: Don't rely on xxx not being present in installation path
Previously Hadrian's installation makefile would assume that the string
xxx
did not appear in the installation path. This would of course
break for some users.
Fixes #21402 (closed).