pci_hotplug: Fix a minor syntax bug

The value in a dictionary could not be matched directly,
convert to the string when matching.

Signed-off-by: Cong Li <coli@redhat.com>