displaymanager: Fix the use of getent in the basic setup.

This also matches what the original shell script from Manjaro did.