Correctly parse SHA out of json response

Signed-off-by: Michal Čihař <michal@cihar.com>