Error Running Post-Install Script While Applying a Patch on the Gateway