A......... [ZBX-8832] Fix importing template applications when there are applications with same name in linked templates.