Removes unreachable code from RegistryUtil The same condition is in line 41. Found during testing of https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/174008 Change-Id: I040e1943a25eccb7d575f23e8682b1d77b1e66a0 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>