MODULE_DIR shouldn't be needed, it is already exported by systemd:

```
$ systemctl show-environment
MODULE_DIR=/run/booted-system/kernel-modules/lib/modules
[...]
```

I know you didn't introduce this line, but since this stuff is changing now it might be a good time to refactor.