Don't raise UnicodeDecodeError when logging an error

This is a fix for an issue we encountered where the git clone command
apparently failed and output something that could not be `decode()`ed.
Because of the UnicodeDecodeError we could not debug the git clone
issue further.