Fixed #22411: Throw a more helpful error if contenttypes doesn't exist.