RHEL7.3 upgrade of 10.3.2-ce fails

I patched my gitlab-ce server and now I’m getting the 500 error. Running gitlab-rake gitlab:check, I get a bunch of errors:

>     # gitlab-rake gitlab:check
>     Checking GitLab Shell ...
> 
>     GitLab Shell version >= 5.10.2 ? ... OK (5.10.2)
>     Repo base directory exists?
>     default... yes
>     Repo storage directories are symlinks?
>     default... no
>     Repo paths owned by git:root, or git:git?
>     default... yes
>     Repo paths access is drwxrws---?
>     default... yes
>     hooks directories in repos are links: ...
>     puppet / xlibs ... rake aborted!
>     NoMethodError: undefined method `>' for nil:NilClass
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:160:in `request_kwargs'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:124:in `call'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/repository_service.rb:13:in `exists?'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:109:in `block in exists?'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:232:in `block (2 levels) in migrate'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:270:in `allow_n_plus_1_calls'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:227:in `block in migrate'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/influx_db.rb:95:in `measure'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:225:in `migrate'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/repository.rb:107:in `exists?'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:496:in `exists?'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:69:in `block (2 levels) in cache_method'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/repository_cache.rb:20:in `fetch'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:1041:in `cache_method_output'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:68:in `block in cache_method'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:501:in `empty?'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:69:in `block (2 levels) in cache_method'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/repository_cache.rb:20:in `fetch'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:1041:in `cache_method_output'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:68:in `block in cache_method'
>     /opt/gitlab/embedded/service/gitlab-rails/app/models/project.rb:502:in `empty_repo?'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:189:in `block in check_repos_hooks_directory_is_link'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:185:in `check_repos_hooks_directory_is_link'
>     /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:55:in `block (3 levels) in <top (required)>'
>     /opt/gitlab/embedded/bin/bundle:23:in `load'
>     /opt/gitlab/embedded/bin/bundle:23:in `<main>'
>     Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check
>     (See full trace by running task with --trace)