fixed base directory scanning for current app domain