Fixed region_endpoint bad check
Merge pull request #740 from ascariandrea/s3-region-fix

Fixed region_endpoint bad check
Merged!

Thanks for making Logstash more awesome!