[package] broadcom-diag: add missing brackets breakign the detection logic (#10836)