kernel/v2: fix error where options could be not hash