SbomOccurrence input_file_blob_path is nil if project is nil
What does this MR do and why?
Fixes: #578065
We have detected that orphaned SbomOccurrence records can exist when the project they relate to is deleted. This will eventually be fixed, but this change is a plaster-fix to ensure the dependency export can function properly.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.