Redirect tar output to /dev/null as we only care about the exit code here, not what it prints to stdout.