light: fix endless creation of holes in emergency mode
light: fix use of wrong logfile after primary --force