Auto-regeneration fails loudly. Fixes #470.