fix for #2986 - the services variable is no longer an array

Change-Id: Ia6fc60c0c1fdfa50e1d6d981699c1d8010df63fc