server/upload.py: fix saving of the PXEMNGR_URL variable