Fix grouped expression warning

ruby -w printed "rubygems/lib/rubygems/basic_specification.rb:167:
warning: (...) interpreted as grouped expression"
Merge pull request #1081 from indirect/master

Fix grouped expression warning