When API is unavailable, GitAccessStatus.new fails

Description

When the API is unavailable, a GitAccessStatus.new is attempted but includes an attribute that has been removed and so throws an exception:

https://gitlab.com/gitlab-org/gitlab-shell/blob/master/lib/gitlab_net.rb#L41-49

GitAccessStatus.new(false,
                          'API is not accessible',
                          gl_repository: nil,
                          gl_id: nil,
                          gl_username: nil,
                          git_config_options: nil,
                          repository_path: nil,  # <-- problem
                          gitaly: nil,
                          git_protocol: nil)

Example

Locking support detected on remote "primary". Consider enabling it with:
  $ git config lfs.https://localhost/root/test.git/info/lfs.locksverify true
Consider unlocking your own locked files: (`git lfs unlock <path>`)
Uploading LFS objects: 100% (145/145), 116 MB | 0 B/s, done
* 1532061284.lfs
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.11 KiB | 1.11 MiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: /Users/ash/src/gdk/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_access_status.rb:6:in `initialize': unknown keyword: repository_path (ArgumentError)
remote: 	from /Users/ash/src/gdk/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_net.rb:41:in `new'
remote: 	from /Users/ash/src/gdk/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_net.rb:41:in `check_access'
remote: 	from /Users/ash/src/gdk/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_access.rb:27:in `block in exec'
remote: 	from /Users/ash/src/gdk/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_metrics.rb:50:in `measure'
remote: 	from /Users/ash/src/gdk/gdk-ee/go-gitlab-shell/src/gitlab.com/gitlab-org/gitlab-shell/lib/gitlab_access.rb:26:in `exec'
remote: 	from hooks/pre-receive:26:in `<main>'
To ssh://localhost:2221/root/test.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://ash@localhost:2221/root/test.git'

Fix