Move getInvService() into utility function.

Resolves openbmc/openbmc#1299

Change-Id: I61f511dcc15e67393a47bd0395b752d2e6f17f11
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
5 files changed