Fix encoding issues after gitlab_git 5.1.0

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>