default['domain'] can't respond to .length if it's a nil