Configuration: fixed wwwDir beeing NULL in CLI mode

This also reverts commit 72906b6ee83f41d1aa52fed9221dc409d5034528.