[tz] [PATCH 4/5] Improve checking for shortcut links