Update nikola/plugins/task_render_galleries.py
Update nikola/plugins/task_render_galleries.py

Fixed refactoring copy/paste error that broke gallery generation
Proteus-tech/nikola,xuhdev/nikola,JohnTroony/nikola,s2hc-johan/nikola,damianavila/nikola,masayuko/nikola,wcmckee/nikola,getnikola/nikola,knowsuchagency/nikola,okin/nikola,berezovskyi/nikola,gwax/nikola,okin/nikola,TyberiusPrime/nikola,atiro/nikola,schettino72/nikola,JohnTroony/nikola,pluser/nikola,techdragon/nikola,xuhdev/nikola,techdragon/nikola,atiro/nikola,x1101/nikola,TyberiusPrime/nikola,pluser/nikola,getnikola/nikola,servalproject/nikola,immanetize/nikola,servalproject/nikola,immanetize/nikola,immanetize/nikola,jjconti/nikola,knowsuchagency/nikola,andredias/nikola,gwax/nikola,TyberiusPrime/nikola,masayuko/nikola,Proteus-tech/nikola,xuhdev/nikola,knowsuchagency/nikola,lucacerone/nikola,JohnTroony/nikola,s2hc-johan/nikola,jjconti/nikola,berezovskyi/nikola,berezovskyi/nikola,getnikola/nikola,schettino72/nikola,wcmckee/nikola,xuhdev/nikola,techdragon/nikola,pluser/nikola,masayuko/nikola,damianavila/nikola,okin/nikola,schettino72/nikola,x1101/nikola,andredias/nikola,yamila-moreno/nikola,jjconti/nikola,getnikola/nikola,gwax/nikola,kotnik/nikola,lucacerone/nikola,Proteus-tech/nikola,yamila-moreno/nikola,servalproject/nikola,damianavila/nikola,andredias/nikola,Proteus-tech/nikola,okin/nikola,kotnik/nikola,kotnik/nikola,yamila-moreno/nikola,wcmckee/nikola,atiro/nikola,x1101/nikola,s2hc-johan/nikola,lucacerone/nikola