VPS reinstall: fix error handling