Fixed crash when user not found

This happened on Heroku when ```osenv.user()``` failed due to whatever reason and ```generate_fake_user()``` was being called incorrectly