So far only some cleanup and added variables for bullseye around explicit version checks that were already in place.
Probably needs further changes for full compatibility, so leaving as WIP for now. Esp. thinking of python2 here. This includes some basic changes, esp. needed for our first migrations. Further changes to be expected as we move more hosts to bullseye.