I don't understand why you use this condition here. The ```I_SET_THE_LOCK``` variable is useful for removing the lock if we set it, thus it's clear and explicit name.

In this case, I think the condition that you should be testing on is ```! -f  /opt/rudder/etc/disable-agent```.