[pacman-dev] [PATCH] Rework finding a writable cache directory