gitlab does not recognize separately installed gitlab-shell

I have gitlab-shell installed in /usr/share/gitlab-shell using the debian package.

praveen@pod:~$ sudo -u gitlab /usr/share/gitlab-shell/bin/gitlab-shell 
[sudo] password for praveen: 
Only ssh allowed
praveen@pod:~$ sudo -u gitlab /usr/share/gitlab-shell/bin/gitlab-keys
not allowed
praveen@pod:~$ sudo -u gitlab /usr/share/gitlab-shell/bin/gitlab-projects
not allowed
praveen@pod:~$ 

but during gitlab installation, I still get a warning.

WARNING: This version of GitLab depends on gitlab-shell 2.6.9, but you're running Unknown. Please update gitlab-shell.

How do gitlab verify what version of gitlab-shell is installed? Can I verify it manually?