read_record: should fail if the record doesn't exist

Otherwise it returns 'defaults' which are almost-certainly wrong

Signed-off-by: David Scott <dave.scott@eu.citrix.com>