Bugfix: setHash configuration option was not handled properly

Change-Id: I8ef555ee9d98d7001f07675a8cb79933db75d38d