Fix sprintf bug on npk cli