KEYS: Fix error handling in big_key instantiation