[package] nvram: fix crash when get, set or unset is invoked without argument (#7263)