AMBARI-5564. VersionUtils doesn't trim input strings. SchemaUpgradeHelper should log unexpected exceptions. (mpapirkovskyy)