Update gitlab_shell.rb

using instance_variable_defined to avoid @user_tried
Merge pull request #81 from corny/patch-1

avoid @user_tried