pkg_repo_update.c: fix
Merge branch '787'