ui/ncurses/boot-editor: Fix (null) when non-device resources are shown