Workaround for webmock

https://github.com/bblimke/webmock/issues/317