Fix handling non 200 response codes
After the cleanup in !231 (merged) gitlab-shell mishandled the non 200 response codes. This commit removes another few lines of codes, which fixes this. Also now we test against this case through mocking.
Fixes #152 (closed)