Fix argument checking for XMPPDiscoEntity
Coding style.