Fix synctl to handle empty config files correctly. Contributed by @kotovalexarian.