As initially merged, the referrals support assumes that all rewrites done with canonicalization requested will be to TGS principals, and that they will have two components. This is fixed in Ticket #4955.