(refs #312)Fix redirection for non git client