Fix unused variable warning in mapper.rb