Bail out immediately if we can't allocate a buffer for carving up $PATH.