AMBARI-1616. Error during upgrading Ambari Server from 1.2.0/1.2.1 to 1.2.2. (Sumit Mohanty via swagle)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1455644 13f79535-47bb-0310-9956-ffa450edef68