[pacman-dev] [PATCH 2/2] Ensure a file can be replaced by a directory