This change fixes the ibus-keyman post install script which previously failed if for whatever reason `SUDO_USER` is not set. Fixes #6893 (cherry picked from commit 1f84299d)