remotectl: Fix issues when group is set to a blank string

Treat it the same as NULL

Closes #880
Reviewed-by: Yin Zhang <yizhang@redhat.com>