Improve warning message around duplicate mapping

The current warning message displayed when a duplicate mapping is encountered does not give much context as to where the problem resides. This change provides a little more detail to aid debugging.