imaging: [fix] register a computer with PXE on GLPI mode

Bug description:
A traceback received in pulse2-package-server.log durring the attempt
of generate a boot menu for a new machine.