fix failureRedirect path for github
manual adaption of dimitry's fix