code: def update_location(self, ps):
          
  
          loc = ps.get('location')
          if not loc:
              loc = os.path.join(self.project().get('location'), self.name())
              ps = ps.add_raw(["<location>" + loc])
  
          return ps
docs: If <location> is not set, sets it based on the project data.