Simplified document root default logic