fix regression in Mapper when `format:` was used in a `scope`.

Closes #10071

`#normalize_path!` depends on the options so we need to call `#normalize_options!` first to make sure everything is set correctly.

I did not add a CHANGELOG entry as it fixes a regression only present in master. Let me know if I should put one in anyways.