Update gitlab_shell.rb

using instance_variable_defined to avoid @user_tried