Fix update-repo.sh cannot sync because of 'repo' missing

Signed-off-by: Karfield Chen <karfield@126.com>