schedule.list should return an empty dictionary, not None

schedule.list should return an empty dictionary, not None #18969