fix portag dependency upon python3