Some fix in create_option_database.py

Signed-off-by: Andras Mitzki <mitzkia@gmail.com>