Handle getpwuid KeyError for bug #454060.