module Lookbook::PathUtils

def normalize_paths(paths, allow_root: false)

def normalize_paths(paths, allow_root: false)
  Array(paths).map do |path|
    full_path = to_absolute(path)
    if File.exist?(full_path)
      full_path if allow_root || !root_path?(full_path)
    end
  end.compact.uniq
end