Fix FC022: Resource condition within loop may not behave as expected.
Fix FC022: Resource condition within loop may not behave as expected.

pollosp/ruby_rbenv,sous-chefs/ruby_rbenv,chef-rbenv/ruby_rbenv,dexpetkovic/ruby_rbenv,chef-rbenv/ruby_rbenv,sous-chefs/ruby_rbenv,chef-rbenv/ruby_rbenv,pollosp/ruby_rbenv,dexpetkovic/ruby_rbenv,dexpetkovic/ruby_rbenv,pollosp/ruby_rbenv