Fix GridGain getRemotes().
Match changes in Then API.