Don't ICE on bad extern paths

Closes #17990
Oh, I see. Changing them to include the crate name would make them more informative.