AMBARI-8412. Unable to add hosts through UI (onechiporenko)