Fixes https://in.xfel.eu/redmine/issues/119828 introduced by https://git.xfel.eu/detectors/pycalibration/-/merge_requests/611
@ahmedk @roscar