raise a proper docutils error when the request to get a gist url fails

Without this change, I was unable to complete a `nikola build` of the demo site when on my laptop disconnected from the internet.