remove unused path_without_format variable

Was forgotten in a72dab0.
Merge pull request #9528 from korny/patch-1

Fix unused variable warning in mapper.rb