fix: #3575450: prevent crash when entity cannot be loaded for uuid output

Closes #3575450

Merge request reports

Loading