Fixes #5419: correct the version comparision for FusionInventory

@ncharles please adapt the regexp and self-merge