This has been already fixed in yast2-packager-3.1.115 (https://github.com/yast/yast-packager/commit/4a0aad7384a9417a7b6f741509d6ec5e08712f43)