MDL-64994 analytics: Improve the Python package version check