In #3963, @jananir640 has added some code to avoid having data with missing vendors over-ride data we have with vendors included.
I've seen this happen on occasion in CI so I suspect we have at least some tests that will trigger this case if we load bad data in over top of existing data, but it would be nice to have a more explicit test. Because the code is right in generate_sbom writing a test may be a bit complicated and require some mocking of the database to make this work, so this is likely not a beginner-friendly issue.