The GitLab client returns an empty response for the latest commit of an unknown branch instead of an error. Other providers return a 404 error, so GitLab client should do the same.