Add config exists check.