nuageinit: fix setting owner when only the user is set
(cherry picked from commit 3969965c7f156f0fe3e1dc8799362375cb53208a)