the dust cap [or grease cup] is of thin sheet metal and shaped to fit well over the inner seal to prevent hot grease from weeping into the brake drum, doesn't have anything to do with spacing - also if it is missing, the castle nut will still function correctly with respect to the cotter pin, which can be any depth into the slots ... used is what you need, not make shift
Bill