Change to working directory to determine remote origin url

Fixes adammck/forkreadme#1