PCT-808: workaround for "HOME: parameter not set" error on jenkins + simplify cmd