Fix https://github.com/shadow-maint/shadow/issues/38
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>