Restore config values if there is no metadata passed.