Fix bug in go_connector type check in get_channels.