add fix for expected xmpp server returning empty

Change-Id: If7aee443f285c151aa6e911633ea38819a9364a7