Fixes #5419: correct the version comparision for FusionInventory

Shouldn't we match 1.2-distro as well as 1.2.3-distro ?
->  \.[0-9]*.* becomes [.\-_].*