fn check_unpack_result(unpack_result: bool, path: String) -> Result<()>