fix condition for bundle install