Add failure condition to pac-fetch