Check if config exists before calling actions on it