Adapted path generation to new DHT_RECORD_ROUTE behavior