portagegt.rb: Minor changes to make robocop happy