Fix for CheckMysqlQuery Nullpointer (JNRPE-7) and http://sourceforge.net/p/jnrpe/bugs/17/