Fix cordova.plugin.medic patch