[#1020] Use copy of breadcrumb array
[#1020] Fix variable definition
Merge pull request #1021 from akvo/issue/1020-reversed-path

[#1020] Fix reversed `path`