fix remote execution NameError in module 'user'
Merge pull request #2061 from candeira/fix_bug_in_user_module

fix remote execution NameError in module 'user'