`$pathData` is not defined here. And we should not set that anyway, as it can not be reconstructed for API URLAlias.

BTW this does not fail because the tests are missing, I will add those.