Fix notice crash on empty cgi_data