check if cronned users batch size is zero before calling get_users()

this is necessary to conditionally turn off user sync on non-production servers.

related to pull request https://github.com/GigaOM/gigaom/pull/5416

see https://github.com/GigaOM/legacy-pro/issues/4176