pmrep: fix python3 buglets related to list handling
pmrep: fix python3 buglets related to list handling

adfernandes/pcp,wuliming/pcp,aeg-aeg/pcpfans,adfernandes/pcp,adfernandes/pcp,aeg-aeg/pcpfans,wuliming/pcp,adfernandes/pcp,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,adfernandes/pcp,adfernandes/pcp,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,aeg-aeg/pcpfans,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans