These could be combined here with

```
when "tar_xzf", "tar_xjf"
  cmd = "tar -mxf \"#{new_resource.release_file}\" -C \"#{new_resource.path}\""
```