TOOLS-417 fix shard discovery for mongostat