Private registry, fixes #832

#832