Pass the correct value to _get_user

Fixes #379
Merge remote-tracking branch 'zyx-i/fix-379' into develop