PROD-280: Modification for better logging inside winpkg.utils.psm1