Such remote version checks are written in .nasl files and (at least currently) solely working on “official” versions like 8.9 published by a vendor. These .nasl files don’t have any knowledge on “inofficial” versions added by Linux distributions like Ubuntu shown in the example.
The relevant feature which had provided such a functionality seems to have been removed a few years ago in / via: