[packaging] fix changes input done earlier as it messed up parsing of file