Simplify logic, as moving it client side (de-dupe, appending path)

See https://github.com/guardian/frontend/pull/886