@snehaso and I have talked about this offline - I think we should throw an error here rather than passing back nil to be dealt with by the caller. The reason there would be no link here is in fact an error, so we should give that information rather than let the caller have to figure out why it's nil.

We'll leave this for now and look at it next week.