Fix for moduleDir app setting.