Fix invalid-read when a managed proxy configuration fails.