I had the same problem today, on a site on production, and it took me some time to find the solution.
It would be very usefull to display a warning to the user when your plugin detect Woocommerce is installed. Or maybe apply the rights settings automatically in that case ?