Fix minor python error in ntuple_builder