Ensure that config/environment cache is properly cleared.