Add error protection for the case of no input files found, for example, when running over a skim for which no events pass