AMBARI-7861. Apps table contains two apps with equal names after app start. (onechiporenko)