DEV: Incorrect name in precompile output. (#13602)

DEV: Incorrect name in precompile output. (#13602)

Follow-up to c54d58e28f9d026a1d9076e1740983d406c1bf79

diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rb
index 3df9a0b..e5c3f4c 100644
--- a/lib/stylesheet/manager.rb
+++ b/lib/stylesheet/manager.rb
@@ -76,10 +76,11 @@ class Stylesheet::Manager
             compiled << "#{target}_#{theme.id}"
           end
         else
-          $stderr.puts "precompile target: #{target} #{name}"
+          theme = manager.get_theme(theme_id)
+          $stderr.puts "precompile target: #{target} #{theme&.name}"
 
           Stylesheet::Manager::Builder.new(
-            target: target, theme: manager.get_theme(theme_id), manager: manager
+            target: target, theme: theme, manager: manager
           ).compile(force: true)
         end
       end

GitHub sha: 3312e09d02b4f994b66c90d7e4a5a131430e1426

This commit appears in #13602 which was approved by lis2. It was merged by tgxworld.