Fix extract_fundi() inputs in pipeline.py