Build - repopick: gracefully handle empty/non-JSON server responses

Change-Id: Ibc27bb22e50c5107253fd15df5abe8665ace4ed5
Signed-off-by: STELIX <ssspinni@gmail.com>
Build - repopick: remove the superfluous information from date

* '2011-11-17 06:54:52.000000000' -> '2011-11-17 06:54:52'

Change-Id: I80a607aa906d91bace7ac60542fe58de791854e3
Signed-off-by: STELIX <ssspinni@gmail.com>