Backport !700: Prevent ValueError on URLs without an alias

Description

See !700 (merged)

Merge request reports

Loading