The best thing to do is write a plugin that overrides the plugin.
Another thing to do is in the line before you clone your fork, you “rm - rf” the merged plugin.
So do just that in your new plugin rather than forking the main one. There spoilt be a hook to do that.