It's pragmatism.

Deng Xiaoping realised that Communism was an ineffective system, and started market reforms in the 1970's... which was a long time before the collapse of Communism in the 1990's.
Which means China has been Communist for 30 years out of a 5000 year history. Communism came from Europe, it has nothing to do with traditional Chinese culture, which has had the concept of private property since the beginning. The idea of "abolishing private property" (Communism) came from Europe and has long since vanished as a respectable idea in economic theory.
So I'd say that
borrowing money from a so-called Communist power is more embarrassing.