fixing nilclass error when clearing shared example groups

Problem occurred for me running guard-jruby-rspec on windows.