Fixed where I was not retrieving the github api instance