Prevent bad usernames from beeing imported.

fixes #448