action: fix for looking up the loco at sensor and block actions