fn pack_key_from_path(path: &Path) -> String
Converts a path to its string representation for use as a pack key.