fixes #2335 - update puppetclass redirects to referrer page