Fix undercoverage for github importer specs
What does this MR do and why?
Fixes undercoverage in Improve handling of attachment urls and filenames (!215079 - merged) and Make 4XX responses not retriable for attachment... (!214563 - merged).
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.
Related to #582972 (closed)
Edited by Carla Drago