ENH: more explicit exceptions for invalid egg metadata.