Fixes for github enterprise update