Make sure link attributes are only ever added if there is a real NSURL to go along.