[FIX] location get_warehouse method does not compute the correct
warehouse id.