[pacman-dev] [PATCH 3/9] alpm_db_update(): refactor out sync dir create/check