You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: find_pipeline_asset.rb
    path of file: ./repos/workarea/core/app/queries/workarea
    
    the code of the file until where you have to start completion: module Workarea
  class FindPipelineAsset
    def initialize(name,
    
    def path
      host_app_path = Rails.root.join(*@path, @name)
      return host_app_path if host_app_path.exist?
      return plugin_path unless plugin_path.nil?

      Core::Engine.root.join(*@path, @name)
    end