change remote url before updating

This doesn't affect the speed in a noticeable way.
I still have to test this (especially what happens, when there is a force
update or when the new url has absolutely nothing to do with the old one).

references #367

Signed-off-by: Constantin Runge <uroc327@cssbook.de>