Bug 933445 - Remove trailing slash from path variables.