repopick: decode the result as UTF-8 and some other changes that i think i miss...

Change-Id: Ic0cc66274410623b16f26d590ba0279d431ba365