The French aren't unique in this regard. American prisons are fertile grounds for recruiting the disaffected.
I agree with you that prisons breed muslims. There is a lot of hate in many prisoners and Islam is the religion of hate. But just imagine how bad it would be if we didnt have Gitmo and placed those muslim trash in one of our regular prisons.