fix `raco link -l'

Closes PR 13941