AMBARI-5130. Ambari stack upgrade, cannot delete Mapreduce using UpgradeHelper_HDP2.py (aonishuk)