Add check to only run chkconfig if the service is registered

(cherry picked from commit 506797670792a2a151405351d8cea3fe917d24a0)

Conflicts:
	lib/3.7/services.cf