Acorn as plugin open_basedir issue

Due to certain situations, I end up having to develop a sage theme without bedrock and got open_basedir issue after installing acorn as a plugin,

is_file(): open_basedir restriction in effect. File(/www/wwwroot/vendor/composer/installed.json) is not within the allowed path(s): (/www/wwwroot/domain_dir/:/tmp/)

I’m not sure how to solve this issue as it tried to access outside of the domain directory,

        ->map(function ($path) use ($files) {    
		return rtrim($files->normalizePath($path), '/');
	->filter(function ($path) use ($files) {
		return $files->isFile("{$path}/vendor/composer/installed.json")
			&& $files->isFile("{$path}/composer.json");

return new PackageManifest(