Index: import_net_cmd.c =================================================================== --- import_net_cmd.c (revision 33248) +++ import_net_cmd.c (revision 33249) @@ -75,7 +75,8 @@ if (verbose) rnd_message(RND_MSG_DEBUG, "import_net_cmd: running cmd: '%s' outfn='%s'\n", cmdline, outfn); - rnd_setenv("IMPORT_NET_CMD_PCB", PCB->hidlib.filename, 1); + if (PCB->hidlib.filename != NULL) + rnd_setenv("IMPORT_NET_CMD_PCB", PCB->hidlib.filename, 1); rnd_setenv("IMPORT_NET_CMD_OUT", outfn, 1); res = rnd_system(&PCB->hidlib, cmdline); if (res == 0) {