Fixed gist support when the gist does not exist