refs #5180 if --piwik-domain is not set use --url as host. I am not sure if I understand the problem fully but this should fix it I reckon