Fix generaloption dict_by_prefix

Used in early version eg by HOD