[refs #2] Fixing use of hostname/nodename when getting roles