Revert fix for registry key

Signed-off-by: Ben Merrell <ben@digitalboutique.co.uk>