AMBARI-6481. Ambari showing pending upgrade instead of pending upgrade not finalized.(xiwang)