getResourceFromJid additional argument check