added check for invalid entries in /etc/psd.conf