Update the Fedora test platform to 31. Since we have dropped the
pip-and-virtualenv element with this image, we do not need the
work-around for excluded packages any more.
Story: #2007386
Task: #39310
Change-Id: I713a3cc790039dee3d28d83198f5afff5bebc491