fix regression in service install logic