Spotted by Tim Kosse: we were returning an incorrect path in canonify() when