Merge pull request #1318 from csomh/replace-removeprefix
Don't use str.removeprefix()
This string method got introduced only in Python 3.9. Not all
installations have this version.
Signed-off-by: Hunor Csomortáni csomh@redhat.com
Reviewed-by: Tomas Tomecek <tomas@tomecek.net>