Add guard to ambari-install.rb