Be more accurate when fetching names for link objects

When target object is gone or id is invalid we should silently put None
to name field.

Thanks to Alessio Ababilov for reporting this problem with images list.

Change-Id: I6dcbd35b315598c2337f9b95ed6099906f3f739b