Cleanup `generate_subject_map_input.py` to properly use log path