Added check for lsb_readjobinfo() is NULL