AMBARI-5138. Ambari deploy and unit test fails on Python 2.6.9 (aonishuk)