AMBARI-2609. Fix rat check issues. (yusaku)