Bugfix: avoid storing an empty option when no option is registered at all