Applying patch AMQ-5074: MQTT paths with empty levels are not handled correctly.

Thanks Dhiraj!