Check that any result has been found before parsing it. Should fix core dump on missing server reply.