I believe the current search for badges is limited to checking the content of the README files. With GitLab, a project can add badges with the project settings. Those will then appear on the RHS of the project overview page.
Two options to support this:
- Scan the returned 'frontend' HTML file for badges
- Use the GitLab API call that returns all project badges