[DOC beta] Improve missing component error message, for #5424

An attempt to improve the missing component error message. I labeled this one as DOC since that seemed to make more sense than labeling it as a bug.