Remove obsoleted nil checks as due to the json validation these not
necessary anymore.

- Remove nil checks for required items modified and hostname