Fix undefined index warning when using nut (CLI)