o.c.scan.server: Only require devices actually used in scan, but still
allow alias names

Previous attempt was too simple and removed macro support