added a private mode flag for github enterprise, defaulted to true