Fix user/group for debian operating system

The commit 46c48eda06c4ac3e3b303c5099f49e59da5006a8 fixes the problem
on ubuntu but it introduces a regression on debian.
Please see #1224770/comments/5

Change-Id: Id2764a840c04035443fef06719d31125ba34165c
Closes-bug: #1224770
(cherry picked from commit e6c0c9aa4b396655e2aa1663c07be7b00b652d57)
Merge "Fix user/group for debian operating system" into stable/havana