fixing Metadata.relative_path for /foo/bar , /foo/bar_baz becoming ._baz

The behaviour of relative path in Metadata was causing me problems when invoking rspec in a directory named
/foo/bar, while the tests were in /foo/bar_baz.

Metadata.relative_path solved them to ._baz, instead of seeing that the tests are not in the directory of invocation, and using the absolute path instead.

Not sure why this is done with regexes though. The pathname object supports finding the relative path from one to the other.
Need to remove an empty line here for rubocop I think...