Change PURL context when viewing another branch node.

For example, if
``live`` = node/1
``dev1`` = node/2

with this PR when navigating to ``/live/node/2`` user will be redirected to ``/dev1/``