Allow a null subdomain when unrouting.

But we still throw an exception for an empty subdomain.