old_contents: import platform
  
  if platform.node().startswith('garnet') or platform.node().startswith('copper'):
      from garnet import *
  else:
      from default import *
new_contents: import os
  
  if 'HOSTNAME' in os.environ:
      if os.environ['HOSTNAME'].startswith('garnet') or os.environ['HOSTNAME'].startswith('copper'):
          from garnet import *
  else:
      from default import *
subject: Correct detection on Garnet/Copper compute nodes