hi,
i think the problem is in resolve_option function the line return value if value is None else cast_as(value) do something like this bool("False") which is True, according to https://stackoverflow.com/questions/715417/converting-from-a-string-to-boolean-in-python?page=1&tab=scoredesc#tab-top
i hope this can help.
great work with this tool.
best regards
mariano