TEST sysrepoctl_test modified get user
TEST sysrepoctl_test modified get user

Replaced getenv with function calls for getting the current user. This
fixes a problem when the USER environment variable is empty.

Signed-off-by: Mislav Novakovic <5678c0d5a488e1fbc1213419c52ed0f667208fac@sartura.hr>

morganzhh/sysrepo,morganzhh/sysrepo,morganzhh/sysrepo,morganzhh/sysrepo,morganzhh/sysrepo,morganzhh/sysrepo,morganzhh/sysrepo