Title: #880: ci: backport python compatibility patches to 1.16
I must have added also one more patch:
This code is no longer available in master (it is about local domain), but caused troubles
with Python 3.8.
See the full comment at https://github.com/SSSD/sssd/pull/880#issuecomment-530353047