cli: fix crash on autocompletion
@connections is NULL when doing autocompletion. Fixes the following:
$ nmcli --complete-args con monitor "" help id uuid path filename ... Segmentation fault (core dumped)
Fixes: 4b329727 ('cli: rework connection handling for multiple results')