France is there to get cheap Libyan oil from a warlord. If that means partnering with Wagner they are fine doing so.
If France was interested in challenging Russian influence they would support the internationally recognized government and help its fight against Haftar. You know, like how limiting Russian influence in Ukraine is done by helping Ukraine, not by helping Russia allied separatists in Luchansk.