Fix bug 1072951 "[Bug Bash]:Better Error Handling in the case of Cluster creation failed when specify distro mapr  while using CDH4 specfile".