correcting the condition to check for chruby installation