Fix remote url when pushing in post-update hook.