Fix a segfault on the "fossil cgi" command.