fix TypeError on unknown user
add egg-info to gitignore