Fix "Variable $refType of type RefType was provided invalid value"

What does this MR do and why?

Problem

When refType is not set, it is sent by frontend as "" (empty string). This value is incorrect and the getBlobInfo response returns errors.

Solution

Convert "" to nil.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2024-08-13_at_17.36.24 Screenshot_2024-08-13_at_17.38.47
Screenshot_2024-08-13_at_17.36.31 Screenshot_2024-08-13_at_17.39.13

Merge request reports

Loading