zedai-to-html: added two assertions when relativizing hrefs

Added assertions to get more debugging info for the issue they encountered at WIPO, but I think it's fine to leave them in there.