[ENTESB-1475] Correctly detect empty responses from remote jolokia