Bug 1014768 - the previous logic could not properly distinguish usernames that begin with numbers and called Etc.getpwnam too often.
Merge pull request #3771 from rmillner/BZ1014768

Merged by openshift-bot