mcollective: use public_hostname instead of internal IP

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1174824