Use RSpec 3 method of getting parent example group

From https://github.com/rspec/rspec-core/pull/1391 the method of extracting parent example group changed.

In latest 3.1.x it started causing the return code to be 1, breaking all specs.