Fix pymysql fallback in the weblab-admin upgrader