Issue #3028820 by joachim: throw an exception if an entity using bundle plugins doesn't have a 'bundle' entity key