That's a bit simplified, France won't get involved with the USSR when it's still got Germany on the border,
Germany won't side with the USSR
Since they weren't ready to even move on the Siegfried Line I have my doubtsOnly they would have, we have the documents. They thought they could take out two birds with one stone, since Hitler was 'dependent' on Soviet oil.
Except the Molotov-Ribbentrop pact was a non-aggression pact, not an alliance pact.They already have at this point. People tend to gloss over how close the Nazi-Soviet pact brought them together.
Interesting follow-on: OTL there were talks between Entente and Japan about war against USSR. Considering that Japanese still were smarting over the Ribbentrop-Molotov Act, if Operation Pike or sth similiar went in, we may end up with France-UK-Japan vs. Germany-USSR.