Fix luigid when called with --background and without --logdir