fix bug[1308261]: [Ambari] when export rack info of non-existing cluster, cli shows inappropriate errMsg