Correct the condition check in xmpp code.
Correct the condition check in xmpp code.

Change-Id: If12369039e7a7444b71aa9bfb7fb416d545d9e7d
Closes-Bug:1528711

sajuptpm/contrail-controller,nischalsheth/contrail-controller,codilime/contrail-controller,rombie/contrail-controller,eonpatapon/contrail-controller,codilime/contrail-controller,codilime/contrail-controller,rombie/contrail-controller,tcpcloud/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,tcpcloud/contrail-controller,sajuptpm/contrail-controller,nischalsheth/contrail-controller,nischalsheth/contrail-controller,codilime/contrail-controller,nischalsheth/contrail-controller,sajuptpm/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,sajuptpm/contrail-controller,tcpcloud/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,codilime/contrail-controller,sajuptpm/contrail-controller,nischalsheth/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,nischalsheth/contrail-controller,codilime/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,sajuptpm/contrail-controller,tcpcloud/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,eonpatapon/contrail-controller