Fixed WEB_DIR_PATH initialization for CLI.