imaging: Fix imaging group bootmenu generation

On main imaging page, some machines in imaging group can have their
bootmenus in TODO state.
Clicking on 'Generate Menu' don't update status

This commit fix it