conf: Remove dead store.
Fix use after free.
Simplify module path list, removing strcpy use.