github causes a redirect issue w/ curl