Fix undefined method 'take' in resolv.conf.erb template