init entry_name if mainfile is not None

15 jobs for ELN_List_of_files_803 in 45 minutes and 36 seconds (queued for 3 seconds)