Fix an issue where revert_patches function never worked because of wrong variable use
Fix an issue where revert_patches function never worked because of wrong variable use

Robotma-com/candy-iot-service,Robotma-com/candy-iot-service