Update iterm2.rb

check if installed first