Fix build failure
Fix build failure

Comparing strings to object paths directly isn't supported
at the moment.

Change-Id: I98083cf563fe8dde74e7f058720a0481bbe7c2e6
Signed-off-by: Brad Bishop <713d098c0be4c8fd2bf36a94cd08699466677ecd@fuzziesquirrel.com>

openbmc/phosphor-inventory-manager,openbmc/phosphor-inventory-manager