[pacman-dev] Missing sanity checks for path -> weird behaviors and segfaults