Fixed a logical error in check-a-records.sh.erb

The check-a-records.sh script that runs on Puppetmaster did not detect nodes
which didn't have A records properly. Fixed this problem and tested that the fix
works.

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>