GCS: fix crash that occurs when no board is found

This is particularly problematic when firmware IAP is not available
and a connection is established.