Raise TypeError if nil is passed for PathPrefix#relative_join

See http://lucaguidi.com/2014/09/22/meaningful-exceptions.html