[FIX] wms: fix lookup of xmlid route_warehouse0_buy

Fixes #2610 courtesy of gurneyalex