upload.py: fix generate_filename_and_macs to always report mac addresses for pxemngr