Remove obsoleted nil checks.

Due to the json validation we can remove previously required nil checks.

It seems that this code path checks if the files are extracted or not. So it needs to stay.