Literally just don't sign CLAs. I made the mistake of signing a CLA for a piece of software which shortly after switched to a non-Free license, and will never ever sign a CLA again.
I have not and will not sign anything which assigns copyright for OSS (even to the FSF), so it will be interesting to see whether all of that code has been rewritten.