# File lib/bundler/vendor/thor/actions.rb, line 116
    def relative_to_original_destination_root(path, remove_dot=true)
      if path =~ /^#{@destination_stack[0]}/
        path = path.gsub(@destination_stack[0], '.')
        path = remove_dot ? (path[2..-1] || '') : path
      end

      path
    end