[Compass-ci] [PATCH compass-ci] git_mirror.rb: optimize method to pass rubocop