Verify theres a record before trying to use it.
Merge pull request #3718 from rmillner/BZ1012257

Merged by openshift-bot