Improved reading values from registry
Push warning fixed after commit 3803caf