Fixed a NullPointerException when trying to call getPathReference() in JsonMappingException

Fixed a NullPointerException when trying to call getPathReference() when no path has been prepended.

This occurred when I was actually trying to serialise a JsonMappingException, the BeanSerializer called getPathReference() which caused the _appendPathDesc to throw a NPE.