Fix url.t

We needed to unset the GIT_DIR set in test/setup, so we can use `git`
commands.