Update check-url.pl

Avoids script crash on undefined record