Ammend fix done by ghiacale to add site if it isn't passed to getXMPPDomain since I got component lookup error without it