[scripts] [common] fix when to export download url