Updated availability check due to github enterprise version doesn't provide status api