BZ1159879 ISPN-4935 Quickstarts: Remote query not working

This is for master (jdg-6.4.x was already integrated).

Jira: https://issues.jboss.org/browse/ISPN-4935
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1159879