Fix logical condition which was breaking useradd.
Merge pull request #7899 from cachedout/develop

Fix logical condition which was breaking useradd.