Pootle2git simplify code