Fix SEGV: connection_get_link PAZ-965