[Bug 1711646] Scriptlet error when updating through SSH