Fix a crash from 37ca35aa if no filenames were specified.