cmd/install: fallback to searching formula names.

Closes #33648.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>