Check that configuration exists before trying to access it.