nuageinit: pet luacheck
Rename path into ni_path (ni stands for nuageinit) which is more
understandable and avoid a shadowing warning because we also use a
variable named path later.
Add a missing local
(cherry picked from commit f678c47590276aa8acdacdecfb78cc6c44bbf449)