fix github detection regex