imaging: [fix] Generate imaging menu on GLPI mode when register a new machine

Generating of imaging menu is now disponible, but with this constraints :
- on GLPI mode, a new machine is registered by sending inventory to GLPI.
  This action takes a few seconds, so it's to late to identify this machine
  in database as existing.
- This action must be repeated with the same name of machine.