remote push test fix

We weren't actually setting the transport on the remote, and it was counting on the local transport not having a push func ptr set.  If one were to be working on a local push, this test would mistakenly fail.

After this change, `git_remote_free` will clean up our transport for us.