fixed install/remove errors in case jenkins.service was not enabled

Change-Id: I66b4077a69a60c82d4af9faf3683520718b007e6