[DEVMGR] Avoid buffer overflow when device reg key size is > 100 chars