342,343c342,344
< choices=os_types[buildEnv['TARGET_ISA']], default="linux",
< help="Specifies type of OS to boot")
---
> choices=os_types[str(buildEnv['TARGET_ISA'])],
> default="linux",
> help="Specifies type of OS to boot")