Properly decode repacketize parameter

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>