MacOS::XQuartz#prefix raises better error if nil

A `nil` #prefix will currently cause an `undefined method '/' for nil:NilClass` error. This causes it to raise a more meaningful error.

TODO: tests, more idiomatic error class(?).