AMBARI-6271. Multiple Stack Service Exceptions When Loading Ambari Server. Fixing regression (dlysnichenko)