Fix the execution of redis scripts
Fix the execution of redis scripts

 - check if the redis client is wrapped in a LocalProxy and unwraps it as
   redis-py does some typechecking on the client
 - fixes #1757

ThiefMaster/indico,ThiefMaster/indico,mic4ael/indico,mvidalgarcia/indico,OmeGak/indico,pferreir/indico,pferreir/indico,OmeGak/indico,ThiefMaster/indico,indico/indico,DirkHoffmann/indico,ThiefMaster/indico,indico/indico,DirkHoffmann/indico,mic4ael/indico,mic4ael/indico,DirkHoffmann/indico,OmeGak/indico,DirkHoffmann/indico,mvidalgarcia/indico,mvidalgarcia/indico,OmeGak/indico,indico/indico,mvidalgarcia/indico,pferreir/indico,pferreir/indico,indico/indico,mic4ael/indico