include/version.mk: rework repository url handling