fix url formation for polling last build