Patch for allocPSA installation bug.
(cherry picked from commit ccf590b96bdd5533993c22233b9dca7ff6b31750)