Fix #377 Installer suggests incorrect cookie domain

The logic for this was backwards. If `my_inet_pton($cookiedomain)` returns false, or `strpos($cookiedomain, '.')` returns anything but true, we have an invalid cookie domain.