Make sure target has scope when it's a link-local. Fixes #3969