Support new private gist syntax.

Solves #1185.