AMBARI-23744 : Fix UUID computation issues in AMS.