The privacyIDEAVersionNumber is filled here:
prepare_result here is a central part to add the base skeleton to JSON responses, like the version number which is read from
…which actually reads the version number from the installed package (from setup.py) here
So if you are still seeing 3.0.1 either you are a missing a restart of the webserver or you have some caching issues. It should be 3.0.2.