At least one instance where re.search() returned None.

Not sure why, but it's easy enough to check.

Ticket: #7024