fix user_install check for user names with spaces, closes #2140