The correct way to avoid self healing on a component is not but removing the keypath.
If you want self healing to be disabled you should be removing Component code. A blank key path confuses self healing. A blank component GUID stops self healing data being written to the registry, effectively disabling it.
If you’re not a subscriber, you can have msigeek blog notifications delivered to you free via these options: RSS Updates , Email Updates and SMS Alerts.

