Improved checks for pam.ld
update gitignore