zypper, the command used to install packages on SUSE distributions, supports package repositories that requires a username and a password to be accessed. Unlike other comparable utilities for other distributions, zypper stores such credentials information in a file in $HOME, $HOME/.zypp/credentials.cat to be precise. However, this requires the environment variable $HOME to be set, which is currently not the case, rendering the zypper package provider unable to access a required password.
The attached patch fixes this by explicitly defining a HOME environment variable set to "/root". This is correct, because the zypper command requires root permissions for both configuring software repositories and installing software.