insights: stop erroring on empty repository alert
Created by: leonore
closes #34651 (closed).
- Change alert handling in standard search path to match current alert message
- Add same alert handling to other paths
Test plan
Added unit tests as part of this PR.
Manually created alerts and errors within the work_handler and created compute insights to check frontend behaviour: