core: simplify emulated machine matching code

Change-Id: Id61cbd7ab74d809ba66071d9d1807f8b4f8c985c
Signed-off-by: Roy Golan <rgolan@redhat.com>