Fix 500 error when visiting a commit where the blobs do not exist (nil blobs) -- EE merge edition
EE merge edition of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16237
EE merge edition of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16237