checkupdates failing with UpdateCheckIgnore

I found this while testing fdroiddata!4568 (merged). checkupdates fails with this error:

WARNING: ...com.money.manager.ex : Could not scan app com.money.manager.ex due to unknown error: Traceback (most recent call last):
  File "/home/pierre/www/fdroidserver/fdroidserver/checkupdates.py", line 153, in check_tags
    for subdir in possible_subdirs(app):
  File "/home/pierre/www/fdroidserver/fdroidserver/checkupdates.py", line 345, in possible_subdirs
    package = common.parse_androidmanifests(m_paths, app)[2]
  File "/home/pierre/www/fdroidserver/fdroidserver/common.py", line 1511, in parse_androidmanifests
    if not ignoresearch or not ignoresearch(version):
TypeError: expected string or bytes-like object

I think that is because it tries to call ignoresearch() on a None version here: https://gitlab.com/fdroid/fdroidserver/blob/9b44dcd07361606f26544cbd3dd8e92b5781faba/fdroidserver/common.py#L1511