Pull the link out of the alternatives output when not specified

Fixes #7414