old_contents: import pathlib
  
  GITDIR = pathlib.Path(os.environ.get('GITDIR', '/opt/git')) #TODO check permissions
  
new_contents: import os
  import pathlib
  
  GITDIR = pathlib.Path(os.environ.get('GITDIR', '/opt/git')) #TODO check permissions
  
subject: Add missing import